<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  
<html xmlns = "http://www.w3.org/1999/xhtml">
  <!-- 2012 lukbrasil -->
  <!-- Internet & World Wide Web How To Program - Exercise 6.17 -->
  <head>
    <title>Exercise 6.17</title>
    
    <script type = "text/javascript">
      <!-- 
      var number1 = parseInt(window.prompt("Enter an integer"));
      var number2 = parseInt(window.prompt("Enter another an integer"));
      
      if (number1 == number2) {
        document.writeln("<p>These numbers are equal.</p>");
      }
      
      if (number1 > number2) {
        window.alert(number1 + " is larger.");
      }
      
      if (number2 > number1) {
        window.alert(number2 + " is larger.");
      }
      // -->
    </script>
  </head>
  <body>
  </body>
</html>
